package com.ruoyi.manger.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 违章条例配置对象 t_regulation_config
 * 
 * @author ruoyi
 * @date 2024-12-14
 */
public class RegulationConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 违章条例编号 */
    @Excel(name = "违章条例编号")
    private String regulationsNumber;

    /** 违章条例标题 */
    @Excel(name = "违章条例标题")
    private String regulationsTitle;

    /** 违章条例内容 */
    @Excel(name = "违章条例内容")
    private String regulationsContent;

    /** 数据状态（作为逻辑删除，0为正常-1为删除） */
    @Excel(name = "数据状态", readConverterExp = "作=为逻辑删除，0为正常-1为删除")
    private Long status;

    /** 违章条例类型，0-项目，1-车辆 */
    @Excel(name = "违章条例类型，0-项目，1-车辆")
    private Long type;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRegulationsNumber(String regulationsNumber)
    {
        this.regulationsNumber = regulationsNumber;
    }

    public String getRegulationsNumber()
    {
        return regulationsNumber;
    }
    public void setRegulationsTitle(String regulationsTitle) 
    {
        this.regulationsTitle = regulationsTitle;
    }

    public String getRegulationsTitle() 
    {
        return regulationsTitle;
    }
    public void setRegulationsContent(String regulationsContent) 
    {
        this.regulationsContent = regulationsContent;
    }

    public String getRegulationsContent() 
    {
        return regulationsContent;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("regulationsNumber", getRegulationsNumber())
            .append("regulationsTitle", getRegulationsTitle())
            .append("regulationsContent", getRegulationsContent())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("type", getType())
            .toString();
    }
}
